package com.ginmeta.domain.system.vo;

import com.ginmeta.domain.system.entity.SysUser;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.util.List;

/**
 * 用户信息视图
 * @author GinMeta
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoRespVO extends SysUser {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色权限集合
     */
    private List<String> roles;
}
